.header{
    display: flex;
    align-items: center;
    justify-content:space-between;
    background-color:#fff;
    line-height: 45px;
    border-bottom: 1px solid #ccc;
}
.header span{
    margin-left: 8px;
}
.header h2{
    text-align: center;
    flex:1;
    font-size: 16px;
}
/* 主体 */
.main .car-list{
    display: flex;
    flex-direction: column;
}
.main .car-list .car-item{
    justify-content: space-between;
    display: flex;
    position: relative;
    background-color: #fff;
    padding: 10px;
    border-bottom: 1px solid #ccc;

}
.main .car-img img{
    width: 120px;
    height: 120px;
}
/* 三大主体 */
.main .car-list .car-item .car-chechbox{
    align-self: center;
}
/* 按钮 */
.car-list .car-item .car-chechbox input{
    display: none;
}
.car-list .car-item .car-chechbox input:checked+span{
    background-color: red;
}
.main .car-list .car-item .car-chechbox span{
    display: inline-block;
    width: 20px;
    height: 20px;
    color:#fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
    /* background-color: red; */
}
.car-content{
    flex: 1;
    display: flex;
    align-items:center;

}
.car-content .car-desc{
    flex:1;
}
.car-content .car-desc .car-title{
    font-size: 16px;
}
.car-content .car-desc .car-color{
    color: #999BA1;
}

.car-del{
    display: flex;
    position: absolute;
    top: 40px;
    right: 40px;
}
.del-img{
    width: 20px;
   
}
.car-control{
    align-self: flex-end;
    position: relative;
}
.car-control input{
    width: 25px;
    border: 1px solid #ccc;
    outline: none;
    text-align: center;
    background-color: #fff;
    position: absolute;
    left: -60px;
    top: -20px;
}
.car-control .reNum,.car-control .addNum{
    width: 20px;
    border: 1px solid #ccc;
    text-align: center;
    display: block;
}
.car-control .reNum {
    position: absolute;
    left: -80px;
    top:-20px;
}
.car-control .addNum {
    position: absolute;
    left:-33px;
    top:-20px;
}





/*   3.结算部分 shop-car  */
.shop-car{
    display: flex;
    background:#fff;
    justify-content:space-around;
    align-items: center;
    line-height: 35px;
    padding: 2px 5px;
    border-top:1px solid #ccc ;
    border-bottom:1px solid #ccc ;

}
.shop-car .sum-Num{
    flex:1;
   text-align: center;
   font-size: 16px;
}
.shop-car .sum-Num .sum-price{
    color: red;
}

.shop-car .car-chechbox input{
    display: none;
}
.shop-car input:checked+span{
    background: red;
}
.shop-car .car-chechbox span{
    display: inline-block;
    width: 14px;
    height: 14px;
    color:#fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
    line-height: 14px;
    font-weight: 700;
    /* background-color: red; */
}
.shop-car .btn{
    background: red;
    width: 100px;
    line-height: 35px;
    color: #fff;
    border: none;
    font-size: 16px;
}